<section class="vbox">

    <section class="scrollable padder">

        <div class="m-b-md">
            <h3 class="m-b-none">修改密码</h3>
        </div>

        
        <section class="panel panel-default">

            <div class="panel-body">
                <form class="form-horizontal form-validate" method="post" action="<?php echo \Yii::$app->urlManager->createUrl("user/dopass"); ?>" novalidate="novalidate">

                    <div class="form-group">
                        <label class="col-sm-2 control-label">密码：</label>
                        <div class="col-sm-3 controls">
                            <input type="password" class="form-control" name="oldpass" data-rule-required="true" value="" >
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">新密码：</label>
                        <div class="col-sm-3 controls">
                            <input type="password" class="form-control" name="password" data-rule-required="true" value="" id="password" data-required-message="请输入新密码">
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">确认密码：</label>
                        <div class="col-sm-3 controls">
                            <input type="password" class="form-control" name="comfirmpasswd" data-rule-required="true" value="" data-rule-equalTo="#password">
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-2">
                            <input type="hidden" value="<?php echo $id;?>" name="id"/>
                            <button type="reset" class="btn btn-default">重置</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </section>
    </section>

</section>


        